package cn.quevo.cube.provide.define.validate;

import cn.quevo.cube.provide.define.entity.dto.CubeColumnDto;

/**
 * 字段类型验证接口
 *
 * @author July july_sky@foxmail.com
 * @version 1.0
 * @date 2018/12/14 5:42 PM
 * @Copyright 湘豫（北京）科技有限公司版权所有.All Rights Reserved.
 */
public interface ColumnTypeValidate {

    /**
     * 字段验证
     *
     * @param cubeColumnDto
     * @author July july_sky@foxmail.com
     * @date 2018/12/14 5:42 PM
     * @Copyright 湘豫（北京）科技有限公司版权所有.All Rights Reserved.
     */
    void validate(CubeColumnDto cubeColumnDto);

    /**
     * 获取自定义信息
     *
     * @param key
     * @return
     * @author July july_sky@foxmail.com
     * @date 2018/12/14 5:42 PM
     * @Copyright 湘豫（北京）科技有限公司版权所有.All Rights Reserved.
     */
    String getCustomParam(String key);

}
